package src.first;

public class after1 {

    class Calculation{
        int i;
        int sum = 0;

        public void setI(int i) {
            this.i = i;
        }

        public Calculation(int i) {
            this.i = i;
        }

        public void CalculationSum(){
            for (int j = 0; j < i; j++) {
                sum+=j;
            }
        }
    }
}
